drec.addTimeoutFunc=function(obj,func,timeout){drec.elements[obj.id].toFunc=func;drec.elements[obj.id].timeout=timeout} // Function called when hovering item for over timeout ms
drec.computeRect = function (){for(i in drec.elements) drec.elements[i].rect=actualRect(drec.elements[i]);}